package com.hefeng.unit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

 /**
 * 子设备表;
 * @author : hzh
 * @date : 2022-11-29
 */
 @Data
@ApiModel(value = "子设备表",description = "")
@TableName("gy_device_son")
public class GyDeviceSon implements Serializable,Cloneable{
     @TableId(type = IdType.NONE)
     @JsonFormat(shape = JsonFormat.Shape.STRING)
     @ApiModelProperty(name = "编号", notes = "编号")
     private Long id ;
     /** 设备id */
    @ApiModelProperty(name = "设备id",notes = "")
    private String deviceId ;
    /** 设备编码 */
    @ApiModelProperty(name = "设备编码",notes = "")
    private String deviceCode ;
    /** 探头编号 */
    @ApiModelProperty(name = "探头编号",notes = "")
    private String sonCode ;
    /** 探头位置 */
    @ApiModelProperty(name = "探头位置",notes = "")
    private String deviceLocation ;
    /** 探测器名称 */
    @ApiModelProperty(name = "探测器名称",notes = "")
    private String deviceName ;
    /** 探测器状态;1启用 2停用 */
    @ApiModelProperty(name = "探测器状态",notes = "1启用 2停用")
    private Integer deviceType ;
    /** 创建时间 */
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createdTime ;
    //经度
    private String deviceLongitude;
    //纬度
    private String deviceLatitude;



}